package Messages;

import jade.core.Agent;
import Agents.AOfficeRegion;
import Agents.Messageable;

public class OfficeRegionMessage extends AMessage
{
	//public enum Command {  };
	protected static final String officeToAgent = " Commando_to ";
	protected static final String agentDo = " To_do ";
	protected static final String doAdjust = " Set_to ";
	public GlobalNames receiver;
	
	protected String constructSpecialMessage(Messageable agent)
	{
		return ((Agent)agent).getLocalName() + officeToAgent + ((AOfficeRegion)agent).receiver.get();
	}

	protected String constructSpecialMessage(Messageable agent, MessageType type)
	{
		return null;
	}

	protected void retrieveMyMessage(String theMessage)
	{
		String[] information = theMessage.split(officeToAgent);
		sender = information[0];
		
	}
}
